home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1996 April / MacFormat CD Edition MF36 (April 1996).iso / Floppy / MacFormat Floppy Archive / MacFormat 31 / ObscureCursor1.0 folder / ObscureCursor Docs < prev   
Text File  |  1995-08-29  |  2KB  |  26 lines

  1. ObscureCursor
  2.  
  3. ObscureCursor is free of charge. In fact, I'm placing it in the public domain.
  4.  
  5. When invoked, ObscureCursor hides your cursor until the next time you move your mouse. I'd recommend using it with something like Easy KEYS by Kerry Clendinning, so you won't have to worry about key conflicts. (In fact, I don't know exactly what key ObscureCursor defaults to. Perhaps command-shift-zero...)
  6.  
  7. I wrote ObscureCursor because I needed a quick fix. I'm making desktop pictures out of some photographs my brother took, and I'm sizing them with JPEGView. Once I have a nice, full-screen image, I do a screen capture and I'm just about done.
  8.  
  9. Unfortunately, there's no way to hide the cursor (that I know of) in JPEGView, so my screen captures would all have the cross-hairs cursor somewhere or other. Editing this out would be a pain, so I did what every sane and rational human would do and wrote an FKEY that simply calls the ObscureCursor ToolBox function when invoked.
  10.  
  11. Here's the whole source:
  12.  
  13. #include <QuickDraw.h>
  14.  
  15. void main(void)
  16. {
  17.      ObscureCursor();
  18. }
  19.  
  20. Tough, huh? Luckily, there wasn't anything else to writing the FKEY. I'd never written an FKEY before, and I was crossing my fingers, as I didn't want to crash my Mac. (You see, I had a nicely shaved down picture sitting in JPEGView in the background while I did up the FKEY. Necessity is the mother of invention.)
  21.  
  22. Anyway, now that I see just how easy FKEYs are to make, I'm going to probably crank out a couple more. I'll happily try my hand at specific projects if anyone finds that they need an FKEY to do something.
  23.  
  24. You can reach me at <mason@acheron.middleboro.ma.us> on the Internet or 1:109/370.6 on FidoNet.
  25.  
  26. Later...